import 'dart:io';

import 'package:flutter/foundation.dart';

bool isWeb() => kIsWeb;

bool isAndroid() => Platform.isAndroid;

bool isIOS() => Platform.isIOS;

bool isLinux() => Platform.isLinux;

bool isMacOS() => Platform.isMacOS;

bool isWindows() => Platform.isWindows;

bool isFuchsia() => Platform.isFuchsia;

bool isDesktop() => isLinux() || isMacOS() || isWindows();

bool isMobile() => isAndroid() || isIOS();
